const nested = {a:{b:1,c:2},d:[1,2]}
const {a:{b:f,...g},...h} = nested
console.log(f)
console.log(g)
console.log(h)
